@charset "utf-8";
/* CSS Document */
html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    font-size: 62.5%;
    overflow-x: hidden;
}
ul, li, div, p, body, h1, h2, h3, h4, h5, h6, dl, dt, dd {
    margin: 0;
    padding: 0;
}
li {
    list-style: none;
}
a {
    text-decoration: none;
    color: #2a2a2a;
}
input {
    -webkit-appearance: none;
    outline: none
}
* {
    outline: none;
    webkit-focus-ring-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}
body, html {
    width: 100%;
    font-family: "Microsoft YaHei", "Helvetica Neue", Arial, HelveticaNeue, Helvetica, "BBAlpha Sans", sans-serif;
    font-weight: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-box-align: center;
}

/* *{-webkit-backface-visibility: hidden;-moz-backface-visibility: hidden;-ms-backface-visibility: hidden;backface-visibility: hidden;} 用于解决某些情况下出现闪屏的问题，若无则不加*/
body {
    opacity: 1;
    -webkit-transition: opacity 500ms ease-in;
    transition: opacity 500ms ease-in;
    position: relative;
    -webkit-overflow-scrolling: touch;
}
p, a, li {
    //font-size: 1.2rem;
    color: #434343
}

/*common.less 此处仅给出框架样式示例，具体要根据页面类型自行调整框架样式*/
html {
    font-size: 312.5%
}
@media screen and (max-width: 359px) and (orientation:portrait) {
    html {
        font-size:266.67%
    }
}
@media screen and (min-width: 360px) and (max-width:374px) and (orientation:portrait) {
    html {
        font-size:300%
    }
}
@media screen and (min-width: 384px) and (max-width:399px) and (orientation:portrait) {
    html {
        font-size:320%
    }
}
@media screen and (min-width: 400px) and (max-width:413px) and (orientation:portrait) {
    html {
        font-size:333.33%
    }
}
@media screen and (min-width: 414px) and (max-width:431px) and (orientation:portrait) {
    html {
        font-size:345%
    }
}
@media screen and (min-width: 432px) and (max-width:479px) and (orientation:portrait) {
    html {
        font-size:360%
    }
}
@media screen and (min-width: 480px) and (max-width:639px) and (orientation:portrait) {
    html {
        font-size:400%
    }
}
@media screen and (min-width: 640px) and (orientation:portrait) {
    html {
        font-size:533.33%
    }
}
body, html {
    width: 100%;
    height: 100%;
    background: #fff;
    //overflow-x: hidden;
}
*{
    background-size: 100% !important;
}
#forhorview {
    position: fixed;
    z-index: 1000;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 110%;
    background: #000;
    display: none;
    -webkit-box-align: center;
    -moz-box-align: center;
    box-align: center;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    box-pack: center;
    &.show{
        display: -webkit-box;
    }
}
#forhorview p {
    font-size: 0.6rem;
    color: #fff;
}

.clearfix:before,.clearfix:after{
    content: "";
    display: table;
}
.clearfix:after{
    clear: both;
}
.clearfix{
    *zoom: 1;
}

#loading{
    width: 7.5rem;
    height: 100%;
    background: #d61a30 url(../img/bg.jpg) center center no-repeat;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-size: cover !important;
    .content{
        position: absolute;
        height: 2.8rem;
        width: 100%;
        text-align: center;
        top: 50%;
        margin-top: -1.4rem;
        left: 0;
        font-size: 0;
    }
    .food{
        width: 1.67rem;
        height: 1.22rem;
        background: url(../img/food.png) no-repeat no-repeat;
        background-size: 1.67rem 4.88rem !important;
        margin: 0 auto;
        -webkit-animation:food 1s steps(4) infinite;
    }
    .txt{
        display: inline-block;
        width: 2.54rem;
        height: 0.5rem;
        background: url(../img/loading.png) no-repeat;
        margin: 0.35rem 0 0.2rem;
    }
    .percent{
        font-size: 0.46rem;
        color: #fff;
    }
}

#wrap{
    width: 7.5rem;
    height: 100%;
    position: relative;
    overflow-x: hidden;
}

.page{
    width: 7.5rem;
    height: 100%;
    position: relative;
    display: none;
    background: #d61a30 url(../img/bg.jpg) center center no-repeat;
    background-size: cover !important;
}

#matchSwiper{
    width: 7.5rem;
    height: 100%;
    .swiper-button-disabled{
        display: none;
    }
    .swiper-button-next{
        width: 0.31rem;
        height: 0.53rem;
        right: 0.3rem;
        margin-top: 0;
        top: 5.65rem;
        background: url(../img/arrow-white.png) no-repeat;
    }
    .swiper-button-prev{
        width: 0.31rem;
        height: 0.53rem;
        left: 0.3rem;
        margin-top: 0;
        top: 5.65rem;
        -webkit-transform: rotate(180deg);
        background: url(../img/arrow-white.png) no-repeat;
    }
    .slide-1{
        background: url(../img/bg.jpg) center center no-repeat;
        background-size: cover !important;
    }
    .slide-2{
        background: url(../img/bg-2.jpg) center center no-repeat;
        background-size: cover !important;
    }
    .slide-3{
        background: url(../img/bg.jpg) center center no-repeat;
        background-size: cover !important;
    }
    .arrow{
        display: inline-block;
        width: 0.53rem;
        height: 0.31rem;
        background: url(../img/arrow-b.png) no-repeat;
        position: absolute;
        left: 50%;
        margin-left: -0.26rem;
        bottom: 0.6rem;
        -webkit-animation: jump 2s infinite;
        animation: jump 2s infinite;
    }
}

.page-1{
    display: block;
    background: #b83837 url(../img/index.jpg) no-repeat;
    background-size: 7.5rem 12.08rem !important;
    overflow: hidden;
    .msg-box{
        padding-top: 3.8rem;
        &.show .msg{
            &:nth-child(1){
                -webkit-animation: slideInLeft 0.75s both;
                animation: slideInLeft 0.75s both;
            }
            &:nth-child(2){
                -webkit-animation: slideInLeft 0.75s both 0.3s;
                animation: slideInLeft 0.75s both 0.3s;
            }
            &:nth-child(3){
                -webkit-animation: slideInLeft 0.75s both 0.6s;
                animation: slideInLeft 0.75s both 0.6s;
            }
            &:nth-child(4){
                -webkit-animation: slideInLeft 0.75s both 0.9s;
                animation: slideInLeft 0.75s both 0.9s;
            }
            &:nth-child(5){
                -webkit-animation: slideInLeft 0.75s both 1.2s;
                animation: slideInLeft 0.75s both 1.2s;
            }
            &:nth-child(6){
                -webkit-animation: slideInLeft 0.75s both 1.5s;
                animation: slideInLeft 0.75s both 1.5s;
            }
            &:nth-child(7){
                -webkit-animation: slideInLeft 0.75s both 1.8s;
                animation: slideInLeft 0.75s both 1.8s;
            }
        }
    }
    .msg{
        //display: none;
        //opacity: 0;
        -webkit-transform: translateX(-120%);
        margin: 0.14rem auto 0;
        width: 7.22rem;
        height: 1.24rem;
        background: url(../img/msg.png) no-repeat;
        cursor: pointer;
        &.show{
            -webkit-animation: slideInLeft 0.75s both;
            animation: slideInLeft 0.75s both;
        }
    }
}

.page-2{
    height: auto !important;
    padding-bottom: 1.55rem;
    .fixed{
        width: 7.5rem;
        height: 100%;
        background: #d73c40 url(../img/bg-3.jpg) no-repeat;
        background-size: 7.5rem 11.27rem !important;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1;
    }
    .footer{
        width: 7.5rem;
        height: 0.91rem;
        background: url(../img/kuang.jpg) no-repeat;
        position: fixed;
        left: 0;
        bottom: 0;
        z-index: 3;
    }
    .list{
        position: relative;
        z-index: 2;
        font-size: 0;
        padding-top: 1px;
    }
    .list > div{
        display: none;
    }
    .avatar{
        width: 0.72rem;
        height: 0.72rem;
        position: absolute;
        top: 0;
    }
    .nickname{
        font-size: 0.22rem;
        color: #737373;
        height: 0.28rem;
        line-height: 0.22rem;
    }
    .rec-text,.sen-text{
        position: relative;
        &:after{
            content: "";
            display: block;
            height: 0;
            clear: both;
            visibility: hidden;
        }
        .txt{
            span{
                font-size: 0.3rem;
                line-height: 0.4rem;
                display: inline-block;
                padding: 0.16rem 0.2rem;
                max-width: 4.5rem;
                vertical-align: top;
                border-radius: 0.08rem;
                position: relative;
            }
        }
    }
    .rec-text{
        margin: 0.24rem 0 0 0.18rem;
        .avatar{
            left: 0;
        }
        .txt{
            margin-left: 0.9rem;
            float: left;
            span{
                background: #fff;
                &:before{
                    position: absolute;
                    content: "";
                    display: inline-block;
                    width: 0.09rem;
                    height: 0.16rem;
                    background: url(../img/cor-1.png) no-repeat;
                    background-size: 100%;
                    left: -0.09rem;
                    top: 0.3rem;
                }
            }
        }
        
    }
    .sen-text{
        margin: 0.24rem 0.18rem 0 0;
        .avatar{
            right: 0;
        }
        .txt{
            margin-right: 0.9rem;
            float: right;
            span{
                background: #a0e75a;
                &:before{
                    position: absolute;
                    content: "";
                    display: inline-block;
                    width: 0.09rem;
                    height: 0.16rem;
                    background: url(../img/cor-2.png) no-repeat;
                    background-size: 100%;
                    right: -0.09rem;
                    top: 0.3rem;
                }
            }
        }
    }
    .time{
        width: 0.76rem;
        height: 0.36rem;
        text-align: center;
        line-height: 0.36rem;
        margin: 0.43rem auto 0;
        font-size: 0.22rem;
        color: #000;
        background: rgba(255,206,207,0.82);
        border-radius: 0.1rem;
    }
    .emoji{
        &:before{
            content: "";
            display: inline-block;
            width: 0.23rem;
            height: 0.22rem;
            background: url(../img/a.png) no-repeat;
            background-size: 100%;
            vertical-align: top;
            margin-right: 0.04rem;
        }
        &:after{
            content: "";
            display: inline-block;
            width: 0.19rem;
            height: 0.22rem;
            background: url(../img/b.png) no-repeat;
            background-size: 100%;
            vertical-align: top;
            margin-left: 0.04rem;
        }
    }
    .emoji-1{
        width: 2.24rem;
    }
    .emoji-2{
        width: 2.11rem;
    }
    .emoji-3{
        width: 2.24rem;
    }
    .emoji-4{
        width: 2.24rem;
    }
    .emoji-5{
        width: 2rem;
    }
    .emoji-6{
        width: 2.24rem;
    }
    .emoji-7{
        width: 2.01rem;
    }
    .pic-1{
        width: 1.8rem;
        margin-left: -0.09rem;
    }
    .pic-2{
        width: 2.99rem;
        margin-left: -0.09rem;
    }
    .pic-3{
        width: 1.98rem;
        margin-left: -0.09rem;
    }
    .pic-4{
        width: 1.93rem;
        //margin-right: -0.09rem;
    }
    .cry{
        display: inline-block;
        vertical-align: top;
        height: 0.4rem;
        width: 0.28rem;
        background: url(../img/cry.png) center no-repeat;
        background-size: 0.28rem 0.28rem !important;
        margin: 0 0.02rem;
    }
    .shame{
        display: inline-block;
        vertical-align: top;
        height: 0.4rem;
        width: 0.29rem;
        background: url(../img/shame.png) center no-repeat;
        background-size: 0.29rem 0.28rem !important;
        margin: 0 0.02rem;
    }
}

.page-3{
    text-align: center;
    font-size: 0;
    .txt{
        width: 5.49rem;
        margin: 2.32rem 0 0.36rem;
    }
    .logo{
        width: 4.05rem;
    }
    .product{
        width: 6.7rem;
        margin-top: 2.1rem;
        margin-bottom: 0.43rem;
    }
    .pic{
        width: 6.27rem;
        margin-top: 2.14rem;
    }
    .upload{
        display: inline-block;
        width: 2.91rem;
        height: 1.5rem;
        background: url(../img/btn-upload.png) no-repeat;
    }
    .fileinput{
        width: 100%;
        height: 100%;
        vertical-align: top;
        opacity: 0;
    }
}

.page-4{
    text-align: center;
    .pic{
        width: 6.27rem;
        margin-top: 2.14rem;
    }
    .upload{
        display: inline-block;
        width: 2.91rem;
        height: 1.5rem;
        background: url(../img/btn-upload.png) no-repeat;
    }
    .fileinput{
        width: 100%;
        height: 100%;
        vertical-align: top;
        opacity: 0;
    }
}

.menu-box{
    width: 0.98rem;
    position: absolute;
    left: 0;
    top: 0;
    text-align: center;
    z-index: 10;
    font-size: 0;
    height: 0.85rem;
    overflow: hidden;
    .menu{
        display: inline-block;
        width: 0.95rem;
        height: 0.85rem;
        background: url(../img/menu.png) no-repeat;
        margin-top: 0.03rem;
    }
    .fuli{
        margin-top: 0.1rem;
        display: inline-block;
        width: 0.81rem;
        height: 0.88rem;
        background: url(../img/icon-1.png) no-repeat;
    }
    .rule{
        margin-top: 0.22rem;
        display: inline-block;
        width: 0.81rem;
        height: 0.73rem;
        background: url(../img/icon-2.png) no-repeat;
    }
    &.show{
        -webkit-transition: height 0.3s;
        transition: height 0.3s;
        height: 3.12rem;
        background: rgba(0,0,0,0.9);
    }
}

.pop{
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.6);
    left: 0;
    top: 0;
    z-index: 200;
    display: none;
    -webkit-transition: opacity ease .3s;
    opacity: 0;
    &.show{
        opacity: 1;
    }
    .content{
        width: 7rem;
        height: 11.5rem;
        position: absolute;
        left: 50%;
        top: 50%;
        margin: -5.75rem 0 0 -3.5rem;
        background: rgba(255,255,255,0.96);
        text-align: center;
        font-size: 0;
    }
    .close{
        display: inline-block;
        position: absolute;
        background: url(../img/close.png) no-repeat;
        width: 0.5rem;
        height: 0.5rem;
        right: 0.23rem;
        top: 0.23rem;
    }
}

#fuli-box{
    .title{
        width: 3.68rem;
        margin-top: 1.03rem;
        margin-bottom: 0.88rem;
    }
    .logo{
        width: 4.07rem;
        position: absolute;
        left: 50%;
        margin-left: -2.03rem;
        bottom: 1.1rem;
    }
}

#rule-box{
    .title-rule{
        width: 3.04rem;
        margin: 0.78rem 0 0.28rem;
    }
    .title-time{
        width: 3.04rem;
        margin-bottom: 0.22rem;
    }
    p{
        font-size: 0.33rem;
        color: #000;
        line-height: 0.58rem;
        text-align: left;
        padding: 0 1rem;
        margin-bottom: 0.28rem;
    }
    .tip{
        font-size: 0.26rem;
        line-height: 0.48rem;
        text-align: center;
        padding-top: 0.4rem;
    }
}

#fuliSwiper{
    width: 7rem;
    height: 5.6rem;
    .swiper-button-disabled{
        display: none;
    }
    .swiper-button-next{
        width: 0.32rem;
        height: 0.53rem;
        right: 0.2rem;
        margin-top: 0;
        top: 2.38rem;
        background: url(../img/arrow.png) no-repeat;
    }
    .swiper-button-prev{
        width: 0.32rem;
        height: 0.53rem;
        left: 0.2rem;
        margin-top: 0;
        top: 2.38rem;
        -webkit-transform: rotate(180deg);
        background: url(../img/arrow.png) no-repeat;
    }
    .item{
        padding-bottom: 0.17rem;
        background: url(../img/line.png) center bottom no-repeat;
        background-size: 4.69rem 0.03rem !important;
        margin-bottom: 0.24rem;
    }
    .slide-1{
        .item:last-child{
            background: none;
        }
    }
    h2{
        font-size: 0.37rem;
        color: #deae62;
        height: 0.5rem;
        line-height: 0.5rem;
        font-weight: normal;
        margin-bottom: 0.12rem;
    }
    h3{
        font-size: 0.3rem;
        font-weight: normal;
        color: #000000;
        line-height: 0.4rem;
    }
    p{
        font-size: 0.3rem;
        color: #000;
        line-height: 0.75rem;
    }
}

.page-5{
    overflow: hidden;
    .result-box{
        height: 9.18rem;
        width: 6.28rem;
        margin: 0 auto;
        position: relative;
        top: 1.14rem;
        background: rgba(248,248,248,0.82);
        text-align: center;
        font-size: 0;
    }
    .preview-box{
        width: 6.28rem;
        height: 4.04rem;
        margin: 0 auto;
        overflow: hidden;
        img{
            width: 100%;
            max-width: 100%;
            max-height: 100%;
        }
    }
    .title{
        width: 2.99rem;
        margin: 0.2rem 0 0.26rem;
    }
    .info-box{
        width: 5.75rem;
        height: 3.2rem;
        margin: 0 auto;
        border: 1px dashed #887a7c;
        border-radius: 0.25rem;
        box-sizing: border-box;
        padding-left: 0.53rem;
        text-align: left;
    }
    h3{
        color: #413f3f;
        font-size: 0.28rem;
        font-weight: normal;
        height: 0.4rem;
        line-height: 0.4rem;
        padding: 0.24rem 0;
    }
    .ui-item{
        height: 0.4rem;
        line-height: 0.4rem;
        margin-bottom: 0.15rem;
        label{
            color: #413f3f;
            display: inline-block;
            vertical-align: top;
            font-size: 0.28rem;
        }
        input{
            height: 0.3rem;
            line-height: 0.3rem;
            padding: 0.05rem 0.1rem;
            border: 1px solid transparent;
            outline: none;
            background: transparent;
            font-size: 0.28rem;
            width: 3.4rem;
            border-radius: 0;
        }
        textarea{
            line-height: 0.4rem;
            padding: 0 0.1rem;
            border: 0;
            outline: none;
            font-size: 0.28rem;
            width: 3.4rem;
            height: 0.8rem;
            overflow: auto;
            resize: none;
            background: transparent;
        }
    }
    .btn-group{
        text-align: center;
        position: relative;
        top: 1.14rem;
        padding-top: 0.28rem;
        height: 1.5rem;
        box-sizing: border-box;
        font-size: 0;
        margin-top: -0.14rem;
        a{
            display: inline-block;
            width: 2.91rem;
            height: 1.5rem;
            margin: 0 -0.12rem;
        }
        .reupload{
            background: url(../img/reupload.png) no-repeat;
        }
        .pingxuan{
            background: url(../img/pingxuan.png) no-repeat;
        }
    }
}

.page-6{
    text-align: center;
    font-size: 0;
    .title{
        width: 5.96rem;
        margin-top: 2.8rem;
        margin-bottom: 0.6rem;
    }
    form{
        width: 5.04rem;
        margin: 0 auto;
    }
    .subForm{
        display: inline-block;
        width: 3.24rem;
        height: 1.72rem;
        background: url(../img/px2.png) no-repeat;
        margin-top: 0.28rem;
    }
    input{
        height: 0.4rem;
        line-height: 0.4rem;
        padding: 0.1rem 0.16rem;
        border: 1px solid #000;
        float: left;
        border-radius: 0;
    }
    #username{
        width: 1.84rem;
        
    }
    #phone{
        width: 2.3rem;
        float: right;
    }
    #pname{
        width: 100%;
        height: 0.6rem;
        box-sizing: border-box;
        margin-top: 0.25rem;
    }
}

.page-7{
    text-align: center;
    font-size: 0;
    .title{
        width: 5.96rem;
        margin-top: 2.8rem;
        margin-bottom: 0.08rem;
    }
    p{
        color: #fff;
        line-height: 0.74rem;
        font-size: 0.4rem;
    }
    .gz{
        width: 6.31rem;
        height: 1.83rem;
        background: url(../img/gz.png) no-repeat;
        margin: 0 auto;
    }
    .btn-group{
        font-size: 0;
        margin-top: 0.6rem;
        a{
            display: inline-block;
            margin: 0 -0.18rem;
        }
        .replay{
            width: 3.24rem;
            height: 1.72rem;
            background: url(../img/repeat.png) no-repeat;
        }
        .share{
            width: 3.72rem;
            height: 1.72rem;
            background: url(../img/invite.png) no-repeat;
        }
    }
}

.layui-m-layer{
    .layui-m-layershade{
        background: rgba(0,0,0,0.3);
    }
    .layer-alert{
        width: 5.4rem !important;
        max-width: 5.4rem !important;
        .layui-m-layercont{
            font-size: 0.3rem;
            color: #000;
            line-height: 0.6rem;
        }
    }
}

.share-box{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(0,0,0,0.7);
    display: none;
    opacity: 0;
    -webkit-transition: opacity ease .3s;
    &.show{
        opacity: 1;
    }
    img{
        width: 3.43rem;
        position: absolute;
        top: 2.22rem;
        right: 2rem;
    }
}

@-webkit-keyframes food{
    100%{background-position:0 -4.88rem;}
}

@-webkit-keyframes jump {
  0%,100%{
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }
  50% {
    -webkit-transform: translate3d(0,0.2rem,0);
    transform: translate3d(0,0.2rem,0);
  }
}

@keyframes jump {
  0%,100%{
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }
  50% {
    -webkit-transform: translate3d(0,0.2rem,0);
    transform: translate3d(0,0.2rem,0);
  }
}

@-webkit-keyframes fadeInLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
@-webkit-keyframes slideInLeft {
  from {
    -webkit-transform: translate3d(-120%, 0, 0);
    transform: translate3d(-120%, 0, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInLeft {
  from {
    -webkit-transform: translate3d(-120%, 0, 0);
    transform: translate3d(-120%, 0, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}